package com.recSys.inter;

import com.recSys.model.Ethnic;
import org.apache.ibatis.annotations.Param;

public interface EthnicMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Ethnic record);

    int insertSelective(Ethnic record);

    Ethnic selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Ethnic record);

    int updateByPrimaryKey(Ethnic record);

    Ethnic selectByKeyword(@Param("name") String  name);
}